#ifndef LOADING_OFF_READER
#define LOADING_OFF_READER

#include "Geometric/Face.hpp"
#include "Geometric/Mesh.hpp"

#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <map>

namespace mif
{

	class OffReader
	{
	
		public:
		
			OffReader();
		
			~OffReader();
		
			int Load(std::string, Mesh &);
			
		private:
		
			void InitNeighborhood(Face *, Face *, std::pair<int, int>, int);
			
		private:
		
			std::string mFileName;
			int mNbVertex;
			int mNbFace;
			int mNbEdge;
			
	};

}

#endif
